package com.tyk.bookstore.back.member.service;


import com.tyk.bookstore.back.member.model.query.DeliveryAddressAddQuery;
import com.tyk.bookstore.back.member.model.query.DeliveryAddressPageQuery;
import com.tyk.bookstore.back.member.model.query.DeliveryAddressUpdateQuery;
import com.tyk.bookstore.back.member.model.vo.DeliveryAddressPageVo;
import com.tyk.bookstore.back.member.model.vo.DeliveryAddressVo;

import java.util.List;

public interface DeliveryAddressService {
    DeliveryAddressVo getDeliveryAddressById(Long id);

    DeliveryAddressPageVo getDeliveryAddressPage(DeliveryAddressPageQuery query);

    void addDeliveryAddress(DeliveryAddressAddQuery query);

    void updateDeliveryAddressById(DeliveryAddressUpdateQuery query);

    void deleteDeliveryAddressById(Long id);

    void deleteDeliveryAddressByIds(List<Long> ids);
}
